AM_CPPFLAGS = -I$(top_srcdir)/src -Wall -Wextra -Werror

tvimeg_CXXFLAGS = $(libzenmediainfo_CFLAGS) $(AM_CXXFLAGS)
tvimeg_LDADD = $(libzenmediainfo_LIBS)

bin_PROGRAMS = tvimeg
tvimeg_SOURCES = src/main.cpp \
				 src/data/entry.cpp \
				 src/data/entry.h \
				 src/database/connection.cpp \
				 src/database/connection.h \
				 src/database/database.cpp \
				 src/database/database.h \
				 src/files/directory.cpp \
				 src/files/directory.h \
				 src/files/file_item.cpp \
				 src/files/file_item.h \
				 src/files/file_manager.cpp \
				 src/files/file_manager.h \
				 src/files/file_path.cpp \
				 src/files/file_path.h \
				 src/files/file.cpp \
				 src/files/file.h \
				 src/functional/functional.h \
				 src/functional/string.h \
				 src/media_info/media_info.cpp \
				 src/media_info/media_info.h \
				 src/patterns/singleton.h \
				 src/scanner/base_processor.cpp \
				 src/scanner/base_processor.h \
				 src/scanner/base_scanner.cpp \
				 src/scanner/base_scanner.h \
				 src/scanner/episode_name_parser.cpp \
				 src/scanner/episode_name_parser.h \
				 src/scanner/movie_processor.cpp \
				 src/scanner/movie_processor.h \
				 src/scanner/movie_scanner.cpp \
				 src/scanner/movie_scanner.h \
				 src/scanner/multi_part_filter.cpp \
				 src/scanner/multi_part_filter.h \
				 src/scanner/scanner.cpp \
				 src/scanner/scanner.h \
				 src/scanner/supported_files_filter.cpp \
				 src/scanner/supported_files_filter.h \
				 src/scanner/tv_processor.cpp \
				 src/scanner/tv_processor.h \
				 src/scanner/tv_scanner.cpp \
				 src/scanner/tv_scanner.h \
				 src/settings/command_line.cpp \
				 src/settings/command_line.h \
				 src/settings/settings.cpp \
				 src/settings/settings.h \
				 src/settings/settings_parser.cpp \
				 src/settings/settings_parser.h \
				 src/utf8/utf8/checked.h \
				 src/utf8/utf8/core.h \
				 src/utf8/utf8/unchecked.h \
				 src/utf8/utf8.h \
				 src/xml/xml_attributes.cpp \
				 src/xml/xml_attributes.h \
				 src/xml/xml_parser.cpp \
				 src/xml/xml_parser.h